package com.ict.web.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ict.web.domain.ExtractExpert;
import com.ict.web.dto.ExpertValuateDto;
import com.ict.web.vo.ExpertValuateVo;
import org.apache.ibatis.annotations.Param;

/**
 * 抽取专家Mapper接口
 * 
 * @author xc
 * @date 2022-02-25
 */
public interface ExtractExpertMapper extends BaseMapper<ExtractExpert>
{

    /**
     * 批量修改抽取专家
     *
     * @param list
     * @return 结果
     */
    int batchUpdate(List<ExtractExpert> list);
    /**
     * 批量插入抽取的专家
     *
     * @param list
     * @return 结果
     */
    int batchInsert(List<ExtractExpert> list);

    /**
     * 查询该专家对应的评审任务
     *
     * @param reviewTaskId
     * @return 结果
     */
    ExtractExpert selectReviewTask(@Param("reviewTaskId") Long reviewTaskId, @Param("expertId")Long expertId);
    ExtractExpert selectByIdd(Long extractExpertId);
    /**
     * 专家评价明细
     * @param dto
     * @return
     */
    List<ExpertValuateVo> getExpertValuate(ExpertValuateDto dto);
}
